2025-06-08 18:26:47,301 [ 701909 ] INFO : ClickHouse root is not set. Will use /home/ubuntu/_work/ClickHouse/ClickHouse (runner:42, check_args_and_update_paths) 2025-06-08 18:26:47,301 [ 701909 ] INFO : Cases dir is not set. Will use /home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration (runner:86, check_args_and_update_paths) 2025-06-08 18:26:47,301 [ 701909 ] INFO : utils dir is not set. Will use /home/ubuntu/_work/ClickHouse/ClickHouse/utils (runner:97, check_args_and_update_paths) 2025-06-08 18:26:47,301 [ 701909 ] INFO : base_configs_dir: /home/ubuntu/_work/ClickHouse/ClickHouse/programs/server, binary: /home/ubuntu/_work/_temp/test/build/clickhouse, cases_dir: /home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration (runner:99, check_args_and_update_paths) clickhouse_integration_tests_volume Running pytest container as: 'docker run --rm --name clickhouse_integration_tests_tzc7q0 --privileged --dns-search='.' --volume=/home/ubuntu/_work/_temp/test/build/clickhouse-odbc-bridge:/clickhouse-odbc-bridge --volume=/home/ubuntu/_work/_temp/test/build/clickhouse:/clickhouse --volume=/home/ubuntu/_work/_temp/test/build/clickhouse-library-bridge:/clickhouse-library-bridge --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/programs/server:/clickhouse-config --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration:/ClickHouse/tests/integration --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/utils/backupview:/ClickHouse/utils/backupview --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/utils/grpc-client/pb2:/ClickHouse/utils/grpc-client/pb2 --volume=/run:/run/host:ro --volume=clickhouse_integration_tests_volume:/var/lib/docker -e DOCKER_DOTNET_CLIENT_TAG=11de0b29a15d -e DOCKER_HELPER_TAG=2cffe1eae894 -e DOCKER_BASE_TAG=2993bc2bf171 -e DOCKER_KERBERIZED_HADOOP_TAG=ce74919e88f5 -e DOCKER_KERBEROS_KDC_TAG=9391ecdee8d7 -e DOCKER_MYSQL_GOLANG_CLIENT_TAG=9bec2a638e6e -e DOCKER_MYSQL_JAVA_CLIENT_TAG=766bff31cfe4 -e DOCKER_MYSQL_JS_CLIENT_TAG=41ba7c2ec2a1 -e DOCKER_MYSQL_PHP_CLIENT_TAG=88be89c1e3b6 -e DOCKER_NGINX_DAV_TAG=b55ac9cd7519 -e DOCKER_POSTGRESQL_JAVA_CLIENT_TAG=a4eff5c7f4d6 -e DOCKER_PYTHON_BOTTLE_TAG=a2d3dc777d0c -e DOCKER_CLIENT_TIMEOUT=300 -e COMPOSE_HTTP_TIMEOUT=600 -e PYTHONUNBUFFERED=1 -e PYTEST_ADDOPTS=" -rfEps --run-id=1 --color=no --durations=0 'test_storage_mongodb/test.py::test_secure_connection[True]' -vvv" altinityinfra/integration-tests-runner:9d492c2eec24 '. Start tests ============================= test session starts ============================== platform linux -- Python 3.10.12, pytest-7.4.4, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /ClickHouse/tests/integration configfile: pytest.ini plugins: order-1.0.1, random-0.2, timeout-2.2.0, repeat-0.9.3, reportlog-0.4.0, xdist-3.5.0 timeout: 900.0s timeout method: signal timeout func_only: False collecting ... collected 1 item test_storage_mongodb/test.py::test_secure_connection[True] FAILED [100%] =================================== FAILURES =================================== _________________________ test_secure_connection[True] _________________________ started_cluster = @pytest.mark.parametrize("started_cluster", [True], indirect=["started_cluster"]) def test_secure_connection(started_cluster): mongo_connection = get_mongo_connection(started_cluster, secure=True) db = mongo_connection["test"] > db.add_user("root", "clickhouse") test_storage_mongodb/test.py:323: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.10/dist-packages/pymongo/database.py:1357: in add_user uinfo = self.command("usersInfo", name, session=session) /usr/local/lib/python3.10/dist-packages/pymongo/database.py:736: in command with self.__client._socket_for_reads( /usr/lib/python3.10/contextlib.py:135: in __enter__ return next(self.gen) /usr/local/lib/python3.10/dist-packages/pymongo/mongo_client.py:1325: in _socket_for_reads server = self._select_server(read_preference, session) /usr/local/lib/python3.10/dist-packages/pymongo/mongo_client.py:1278: in _select_server server = topology.select_server(server_selector) /usr/local/lib/python3.10/dist-packages/pymongo/topology.py:241: in select_server return random.choice(self.select_servers(selector, /usr/local/lib/python3.10/dist-packages/pymongo/topology.py:199: in select_servers server_descriptions = self._select_servers_loop( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = ]>> selector = Primary(), timeout = 30, address = None def _select_servers_loop(self, selector, timeout, address): """select_servers() guts. Hold the lock when calling this.""" now = _time() end_time = now + timeout server_descriptions = self._description.apply_selector( selector, address, custom_selector=self._settings.server_selector) while not server_descriptions: # No suitable servers. if timeout == 0 or now > end_time: > raise ServerSelectionTimeoutError( "%s, Timeout: %ss, Topology Description: %r" % (self._error_message(selector), timeout, self.description)) E pymongo.errors.ServerSelectionTimeoutError: localhost:55577: [Errno 111] Connection refused, Timeout: 30s, Topology Description: ]> /usr/local/lib/python3.10/dist-packages/pymongo/topology.py:215: ServerSelectionTimeoutError ---------------------------- Captured stdout setup ----------------------------- Copy common default production configuration from /clickhouse-config. Files: config.xml, users.xml ------------------------------ Captured log setup ------------------------------ 2025-06-08 18:26:49 [ 496 ] DEBUG : Command:['docker ps | wc -l'] (cluster.py:113, run_and_check) 2025-06-08 18:26:49 [ 496 ] DEBUG : Stdout:1 (cluster.py:121, run_and_check) 2025-06-08 18:26:49 [ 496 ] DEBUG : No running containers (conftest.py:92, cleanup_environment) 2025-06-08 18:26:49 [ 496 ] DEBUG : Pruning Docker networks (conftest.py:94, cleanup_environment) 2025-06-08 18:26:49 [ 496 ] DEBUG : Command:['docker network prune --force'] (cluster.py:113, run_and_check) 2025-06-08 18:26:49 [ 496 ] DEBUG : Command:["sysctl net.ipv4.ip_local_port_range='55000 65535'"] (cluster.py:113, run_and_check) 2025-06-08 18:26:49 [ 496 ] DEBUG : Stdout:net.ipv4.ip_local_port_range = 55000 65535 (cluster.py:121, run_and_check) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV DOCKER_KERBEROS_KDC_TAG 9391ecdee8d7 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV CLICKHOUSE_TESTS_SERVER_BIN_PATH /clickhouse (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV MSAN_OPTIONS abort_on_error=1 poison_in_dtor=1 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV JAVA_TOOL_OPTIONS -Djdk.attach.allowAttachSelf=true (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV TSAN_OPTIONS halt_on_error=1 abort_on_error=1 history_size=7 memory_limit_mb=46080 second_deadlock_stack=1 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV HOSTNAME ab25bf4d4444 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV SHLVL 0 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV HOME /root (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV OLDPWD / (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV DOCKER_HELPER_TAG 2cffe1eae894 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV PYTHONUNBUFFERED 1 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV DOCKER_PYTHON_BOTTLE_TAG a2d3dc777d0c (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV UBSAN_OPTIONS print_stacktrace=1 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV PYTEST_ADDOPTS -rfEps --run-id=1 --color=no --durations=0 'test_storage_mongodb/test.py::test_secure_connection[True]' -vvv (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV CLICKHOUSE_LIBRARY_BRIDGE_BINARY_PATH /clickhouse-library-bridge (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV COMPOSE_HTTP_TIMEOUT 600 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV DOCKER_MYSQL_PHP_CLIENT_TAG 88be89c1e3b6 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV DOCKER_DOTNET_CLIENT_TAG 11de0b29a15d (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV CLICKHOUSE_TESTS_CLIENT_BIN_PATH /clickhouse (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV DOCKER_MYSQL_JS_CLIENT_TAG 41ba7c2ec2a1 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV PATH /spark-3.3.2-bin-hadoop3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV DOCKER_KERBERIZED_HADOOP_TAG ce74919e88f5 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV DOCKER_CHANNEL stable (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV DOCKER_CLIENT_TIMEOUT 300 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV DOCKER_POSTGRESQL_JAVA_CLIENT_TAG a4eff5c7f4d6 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV DOCKER_NGINX_DAV_TAG b55ac9cd7519 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV DOCKER_MYSQL_GOLANG_CLIENT_TAG 9bec2a638e6e (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV PWD /ClickHouse/tests/integration (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV DOCKER_MYSQL_JAVA_CLIENT_TAG 766bff31cfe4 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV CLICKHOUSE_ODBC_BRIDGE_BINARY_PATH /clickhouse-odbc-bridge (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV CLICKHOUSE_TESTS_BASE_CONFIG_DIR /clickhouse-config (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV TZ Etc/UTC (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV JAVA_PATH /usr/lib/jvm/java-11-openjdk-amd64/bin/java (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV DOCKER_BASE_TAG 2993bc2bf171 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV SPARK_HOME /spark-3.3.2-bin-hadoop3 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV LC_CTYPE C.UTF-8 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV INTEGRATION_TESTS_RUN_ID 1 (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : ENV PYTEST_CURRENT_TEST test_storage_mongodb/test.py::test_secure_connection[True] (setup) (cluster.py:400, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : CLUSTER INIT base_config_dir:/clickhouse-config (cluster.py:696, __init__) 2025-06-08 18:26:49 [ 496 ] DEBUG : clickhouse_start_command: clickhouse server --config-file=/etc/clickhouse-server/{main_config_file} --log-file=/var/log/clickhouse-server/clickhouse-server.log --errorlog-file=/var/log/clickhouse-server/clickhouse-server.err.log (cluster.py:1670, add_instance) 2025-06-08 18:26:49 [ 496 ] DEBUG : Cluster name: project_name:rootteststoragemongodb. Added instance name:node tag:2993bc2bf171 base_cmd:['docker-compose', '--env-file', '/ClickHouse/tests/integration/test_storage_mongodb/_instances_1/.env', '--project-name', 'rootteststoragemongodb', '--file', '/ClickHouse/tests/integration/test_storage_mongodb/_instances_1/node/docker-compose.yml', '--file', '/ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_mongo_secure.yml'] docker_compose_yml_dir:/ClickHouse/tests/integration/helpers/../../../tests/integration/compose/ (cluster.py:1952, add_instance) 2025-06-08 18:26:49 [ 496 ] INFO : Running tests in /ClickHouse/tests/integration/test_storage_mongodb/test.py (cluster.py:2659, start) 2025-06-08 18:26:49 [ 496 ] DEBUG : Cluster start called. is_up=False (cluster.py:2666, start) 2025-06-08 18:26:50 [ 496 ] DEBUG : Docker networks for project rootteststoragemongodb are NETWORK ID NAME DRIVER SCOPE (cluster.py:780, print_all_docker_pieces) 2025-06-08 18:26:50 [ 496 ] DEBUG : Docker containers for project rootteststoragemongodb are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:788, print_all_docker_pieces) 2025-06-08 18:26:50 [ 496 ] DEBUG : Docker volumes for project rootteststoragemongodb are DRIVER VOLUME NAME (cluster.py:796, print_all_docker_pieces) 2025-06-08 18:26:50 [ 496 ] DEBUG : Cleanup called (cluster.py:801, cleanup) 2025-06-08 18:26:50 [ 496 ] DEBUG : Docker networks for project rootteststoragemongodb are NETWORK ID NAME DRIVER SCOPE (cluster.py:780, print_all_docker_pieces) 2025-06-08 18:26:50 [ 496 ] DEBUG : Docker containers for project rootteststoragemongodb are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:788, print_all_docker_pieces) 2025-06-08 18:26:50 [ 496 ] DEBUG : Docker volumes for project rootteststoragemongodb are DRIVER VOLUME NAME (cluster.py:796, print_all_docker_pieces) 2025-06-08 18:26:50 [ 496 ] DEBUG : Command:docker container list --all --filter name='^/rootteststoragemongodb_.*_1$' --format '{{.ID}}:{{.Names}}' (cluster.py:113, run_and_check) 2025-06-08 18:26:50 [ 496 ] DEBUG : Unstopped containers: {} (cluster.py:815, cleanup) 2025-06-08 18:26:50 [ 496 ] DEBUG : No running containers for project: rootteststoragemongodb (cluster.py:829, cleanup) 2025-06-08 18:26:50 [ 496 ] DEBUG : Trying to prune unused networks... (cluster.py:835, cleanup) 2025-06-08 18:26:50 [ 496 ] DEBUG : Trying to prune unused images... (cluster.py:851, cleanup) 2025-06-08 18:26:50 [ 496 ] DEBUG : Command:['docker', 'image', 'prune', '-f'] (cluster.py:113, run_and_check) 2025-06-08 18:26:50 [ 496 ] DEBUG : Stdout:Total reclaimed space: 0B (cluster.py:121, run_and_check) 2025-06-08 18:26:50 [ 496 ] DEBUG : Images pruned (cluster.py:854, cleanup) 2025-06-08 18:26:50 [ 496 ] DEBUG : Trying to prune unused volumes... (cluster.py:860, cleanup) 2025-06-08 18:26:50 [ 496 ] DEBUG : Command:['docker volume ls | wc -l'] (cluster.py:113, run_and_check) 2025-06-08 18:26:50 [ 496 ] DEBUG : Stdout:1 (cluster.py:121, run_and_check) 2025-06-08 18:26:50 [ 496 ] DEBUG : Setup directory for instance: node (cluster.py:2679, start) 2025-06-08 18:26:50 [ 496 ] DEBUG : Create directory for configuration generated in this helper (cluster.py:4383, create_dir) 2025-06-08 18:26:50 [ 496 ] DEBUG : Create directory for common tests configuration (cluster.py:4388, create_dir) 2025-06-08 18:26:50 [ 496 ] DEBUG : Copy common configuration from helpers (cluster.py:4408, create_dir) 2025-06-08 18:26:50 [ 496 ] DEBUG : Generate and write macros file (cluster.py:4441, create_dir) 2025-06-08 18:26:50 [ 496 ] DEBUG : Copy custom test config files ['/ClickHouse/tests/integration/test_storage_mongodb/configs_secure/config.d/ssl_conf.xml', '/ClickHouse/tests/integration/test_storage_mongodb/configs/named_collections.xml'] to /ClickHouse/tests/integration/test_storage_mongodb/_instances_1/node/configs/config.d (cluster.py:4471, create_dir) 2025-06-08 18:26:50 [ 496 ] DEBUG : Setup database dir /ClickHouse/tests/integration/test_storage_mongodb/_instances_1/node/database (cluster.py:4488, create_dir) 2025-06-08 18:26:50 [ 496 ] DEBUG : Setup logs dir /ClickHouse/tests/integration/test_storage_mongodb/_instances_1/node/logs (cluster.py:4499, create_dir) 2025-06-08 18:26:50 [ 496 ] DEBUG : Entrypoint cmd: ["clickhouse", "server", "--config-file=/etc/clickhouse-server/config.xml", "--log-file=/var/log/clickhouse-server/clickhouse-server.log", "--errorlog-file=/var/log/clickhouse-server/clickhouse-server.err.log"] (cluster.py:4582, create_dir) 2025-06-08 18:26:50 [ 496 ] DEBUG : Env {'ASAN_OPTIONS': 'use_sigaltstack=0', 'TSAN_OPTIONS': 'use_sigaltstack=0', 'CLICKHOUSE_WATCHDOG_ENABLE': '0', 'CLICKHOUSE_NATS_TLS_SECURE': '0', 'LLVM_PROFILE_FILE': '/var/lib/clickhouse/server_%h_%p_%m.profraw', 'MONGO_HOST': 'mongo1', 'MONGO_EXTERNAL_PORT': '55577', 'MONGO_INTERNAL_PORT': '27017', 'MONGO_CONFIG_PATH': '/ClickHouse/tests/integration/helpers'} stored in /ClickHouse/tests/integration/test_storage_mongodb/_instances_1/.env (cluster.py:86, _create_env_file) 2025-06-08 18:26:50 [ 496 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2025-06-08 18:26:50 [ 496 ] DEBUG : No config file found (config.py:28, find_config_file) 2025-06-08 18:26:50 [ 496 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2025-06-08 18:26:50 [ 496 ] DEBUG : No config file found (config.py:28, find_config_file) 2025-06-08 18:26:50 [ 496 ] DEBUG : http://localhost:None "GET /version HTTP/1.1" 200 826 (connectionpool.py:546, _make_request) 2025-06-08 18:26:50 [ 496 ] DEBUG : Command:['docker-compose', '--env-file', '/ClickHouse/tests/integration/test_storage_mongodb/_instances_1/.env', '--project-name', 'rootteststoragemongodb', '--file', '/ClickHouse/tests/integration/test_storage_mongodb/_instances_1/node/docker-compose.yml', '--file', '/ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_mongo_secure.yml', 'pull'] (cluster.py:113, run_and_check) 2025-06-08 18:27:00 [ 496 ] DEBUG : Stderr:Pulling node ... (cluster.py:123, run_and_check) 2025-06-08 18:27:00 [ 496 ] DEBUG : Stderr:Pulling mongo1 ... (cluster.py:123, run_and_check) 2025-06-08 18:27:00 [ 496 ] DEBUG : Stderr:Pulling mongo1 ... pulling from library/mongo (cluster.py:123, run_and_check) 2025-06-08 18:27:00 [ 496 ] DEBUG : Stderr:Pulling node ... pulling from altinityinfra/integr... (cluster.py:123, run_and_check) 2025-06-08 18:27:00 [ 496 ] DEBUG : Stderr:Pulling mongo1 ... digest: sha256:146c1fd999a660e697... (cluster.py:123, run_and_check) 2025-06-08 18:27:00 [ 496 ] DEBUG : Stderr:Pulling mongo1 ... status: image is up to date for m... (cluster.py:123, run_and_check) 2025-06-08 18:27:00 [ 496 ] DEBUG : Stderr:Pulling mongo1 ... done (cluster.py:123, run_and_check) 2025-06-08 18:27:00 [ 496 ] DEBUG : Stderr:Pulling node ... digest: sha256:8a2c68e2d63d82c826... (cluster.py:123, run_and_check) 2025-06-08 18:27:00 [ 496 ] DEBUG : Stderr:Pulling node ... status: image is up to date for a... (cluster.py:123, run_and_check) 2025-06-08 18:27:00 [ 496 ] DEBUG : Stderr:Pulling node ... done (cluster.py:123, run_and_check) 2025-06-08 18:27:00 [ 496 ] DEBUG : Setup Mongo (cluster.py:2921, start) 2025-06-08 18:27:00 [ 496 ] DEBUG : Command:['docker-compose', '--env-file', '/ClickHouse/tests/integration/test_storage_mongodb/_instances_1/.env', '--project-name', 'rootteststoragemongodb', '--file', '/ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_mongo_secure.yml', '--verbose', 'up', '-d'] (cluster.py:113, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.config.config.find: Using configuration files: /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_mongo_secure.yml (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.docker_client.get_client: docker-compose version 1.29.2, build unknown (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:docker-py version: (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:CPython version: 3.10.12 (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:OpenSSL version: OpenSSL 3.0.2 15 Mar 2022 (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.docker_client.get_client: Docker base_url: http+docker://localhost (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.docker_client.get_client: Docker version: Platform={'Name': 'Docker Engine - Community'}, Components=[{'Name': 'Engine', 'Version': '23.0.6', 'Details': {'ApiVersion': '1.42', 'Arch': 'amd64', 'BuildTime': '2023-05-05T21:18:13.000000000+00:00', 'Experimental': 'false', 'GitCommit': '9dbdbd4', 'GoVersion': 'go1.19.9', 'KernelVersion': '5.15.0-130-generic', 'MinAPIVersion': '1.12', 'Os': 'linux'}}, {'Name': 'containerd', 'Version': '1.7.18', 'Details': {'GitCommit': 'ae71819c4f5e67bb4d5ae76a6b735f29cc25774e'}}, {'Name': 'runc', 'Version': '1.7.18', 'Details': {'GitCommit': 'v1.1.13-0-g58aa920'}}, {'Name': 'docker-init', 'Version': '0.19.0', 'Details': {'GitCommit': 'de40ad0'}}], Version=23.0.6, ApiVersion=1.42, MinAPIVersion=1.12, GitCommit=9dbdbd4, GoVersion=go1.19.9, Os=linux, Arch=amd64, KernelVersion=5.15.0-130-generic, BuildTime=2023-05-05T21:18:13.000000000+00:00 (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker inspect_network <- ('rootteststoragemongodb_default') (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker info <- () (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker info -> {'Architecture': 'x86_64', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'BridgeNfIp6tables': True, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'BridgeNfIptables': True, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'CPUSet': True, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'CPUShares': True, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'CgroupDriver': 'cgroupfs', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'CgroupVersion': '2', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'ContainerdCommit': {'Expected': 'ae71819c4f5e67bb4d5ae76a6b735f29cc25774e', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'ID': 'ae71819c4f5e67bb4d5ae76a6b735f29cc25774e'}, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Containers': 0, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:... (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker inspect_network <- ('rootteststoragemongodb_default') (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.network.ensure: Creating network "rootteststoragemongodb_default" with the default driver (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker create_network <- (name='rootteststoragemongodb_default', driver=None, options=None, ipam=None, internal=False, enable_ipv6=False, labels={'com.docker.compose.project': 'rootteststoragemongodb', 'com.docker.compose.network': 'default', 'com.docker.compose.version': '1.29.2'}, attachable=True, check_duplicate=True) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker create_network -> {'Id': 'ebd768e312629634d5e3be5b05ab6fde8fbdc433e24035a3693e149a1810e357', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Warning': ''} (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=False, filters={'label': ['com.docker.compose.project=rootteststoragemongodb', 'com.docker.compose.oneoff=False']}) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=False, filters={'label': ['com.docker.compose.project=rootteststoragemongodb', 'com.docker.compose.oneoff=False']}) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={'label': ['com.docker.compose.project=rootteststoragemongodb', 'com.docker.compose.oneoff=False']}) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={'label': ['com.docker.compose.project=rootteststoragemongodb', 'com.docker.compose.oneoff=False']}) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={'label': ['com.docker.compose.project=rootteststoragemongodb', 'com.docker.compose.service=mongo1', 'com.docker.compose.oneoff=False']}) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={'label': ['com.docker.compose.project=rootteststoragemongodb', 'com.docker.compose.service=mongo1', 'com.docker.compose.oneoff=False']}) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker inspect_image <- ('mongo:3.6') (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker inspect_image -> {'Architecture': 'amd64', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Author': '', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Comment': '', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Config': {'AttachStderr': False, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'AttachStdin': False, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'AttachStdout': False, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Cmd': ['mongod'], (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Domainname': '', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Entrypoint': ['docker-entrypoint.sh'], (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Env': ['PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:... (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={'label': ['com.docker.compose.project=rootteststoragemongodb', 'com.docker.compose.service=mongo1', 'com.docker.compose.oneoff=False']}) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={'label': ['com.docker.compose.project=rootteststoragemongodb', 'com.docker.compose.service=mongo1', 'com.docker.compose.oneoff=False']}) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.parallel.feed_queue: Pending: {} (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.parallel.feed_queue: Starting producer thread for (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={'label': ['com.docker.compose.project=rootteststoragemongodb', 'com.docker.compose.service=mongo1', 'com.docker.compose.oneoff=False']}) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={'label': ['com.docker.compose.project=rootteststoragemongodb', 'com.docker.compose.service=mongo1', 'com.docker.compose.oneoff=False']}) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:Creating rootteststoragemongodb_mongo1_1 ... (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.parallel.feed_queue: Pending: {ServiceName(project='rootteststoragemongodb', service='mongo1', number=1)} (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.parallel.feed_queue: Starting producer thread for ServiceName(project='rootteststoragemongodb', service='mongo1', number=1) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker inspect_image <- ('mongo:3.6') (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker inspect_image -> {'Architecture': 'amd64', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Author': '', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Comment': '', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Config': {'AttachStderr': False, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'AttachStdin': False, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'AttachStdout': False, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Cmd': ['mongod'], (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Domainname': '', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Entrypoint': ['docker-entrypoint.sh'], (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Env': ['PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:... (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker inspect_image <- ('mongo:3.6') (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker inspect_image -> {'Architecture': 'amd64', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Author': '', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Comment': '', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Config': {'AttachStderr': False, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'AttachStdin': False, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'AttachStdout': False, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Cmd': ['mongod'], (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Domainname': '', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Entrypoint': ['docker-entrypoint.sh'], (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Env': ['PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:... (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.service.build_container_labels: Added config hash: 8c05dadac9dc2eabf2af565b05fb484283ad04d43ba53a0f4eac40ac982c6656 (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker create_host_config <- (links=[], port_bindings={'27017/tcp': ['55577']}, binds=['/ClickHouse/tests/integration/helpers:/mongo:rw'], volumes_from=[], privileged=False, network_mode='rootteststoragemongodb_default', devices=None, device_requests=None, dns=None, dns_opt=None, dns_search=None, restart_policy={'Name': 'always', 'MaximumRetryCount': 0}, runtime=None, cap_add=None, cap_drop=None, mem_limit=None, mem_reservation=None, memswap_limit=None, ulimits=None, log_config={'Type': '', 'Config': {}}, extra_hosts=None, read_only=None, pid_mode=None, security_opt=None, ipc_mode=None, cgroup_parent=None, cpu_quota=None, shm_size=None, sysctls=None, pids_limit=None, tmpfs=None, oom_kill_disable=None, oom_score_adj=None, mem_swappiness=None, group_add=None, userns_mode=None, init=None, init_path=None, isolation=None, cpu_count=None, cpu_percent=None, nano_cpus=None, volume_driver=None, cpuset_cpus=None, cpu_shares=None, storage_opt=None, blkio_weight=None, blkio_weight_device=None, device_read_bps=None, device_read_iops=None, device_write_bps=None, device_write_iops=None, mounts=None, device_cgroup_rules=None, cpu_period=None, cpu_rt_period=None, cpu_rt_runtime=None) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker create_host_config -> {'Binds': ['/ClickHouse/tests/integration/helpers:/mongo:rw'], (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Links': [], (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'LogConfig': {'Config': {}, 'Type': ''}, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'NetworkMode': 'rootteststoragemongodb_default', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'PortBindings': {'27017/tcp': [{'HostIp': '', 'HostPort': '55577'}]}, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'RestartPolicy': {'MaximumRetryCount': 0, 'Name': 'always'}, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'VolumesFrom': []} (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker create_container <- (command='--config /mongo/mongo_secure.conf --profile=2 --verbose', environment=['MONGO_INITDB_ROOT_USERNAME=root', 'MONGO_INITDB_ROOT_PASSWORD=clickhouse'], image='mongo:3.6', ports=[('27017', 'tcp')], volumes={'/mongo': {}}, name='rootteststoragemongodb_mongo1_1', detach=True, labels={'com.docker.compose.project': 'rootteststoragemongodb', 'com.docker.compose.service': 'mongo1', 'com.docker.compose.oneoff': 'False', 'com.docker.compose.project.working_dir': '/ClickHouse/tests/integration/compose', 'com.docker.compose.project.config_files': '/ClickHouse/tests/integration/compose/docker_compose_mongo_secure.yml', 'com.docker.compose.project.environment_file': '/ClickHouse/tests/integration/test_storage_mongodb/_instances_1/.env', 'com.docker.compose.container-number': '1', 'com.docker.compose.version': '1.29.2', 'com.docker.compose.config-hash': '8c05dadac9dc2eabf2af565b05fb484283ad04d43ba53a0f4eac40ac982c6656'}, host_config={'NetworkMode': 'rootteststoragemongodb_default', 'RestartPolicy': {'Name': 'always', 'MaximumRetryCount': 0}, 'VolumesFrom': [], 'Binds': ['/ClickHouse/tests/integration/helpers:/mongo:rw'], 'PortBindings': {'27017/tcp': [{'HostIp': '', 'HostPort': '55577'}]}, 'Links': [], 'LogConfig': {'Type': '', 'Config': {}}}, networking_config={'EndpointsConfig': {'rootteststoragemongodb_default': {'Aliases': ['mongo1'], 'IPAMConfig': {}}}}) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker create_container -> {'Id': 'cb0a65b5bfda28c2313876693f1358d23c63a171d3532c86bb8e9970e83b3224', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Warnings': []} (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker inspect_container <- ('cb0a65b5bfda28c2313876693f1358d23c63a171d3532c86bb8e9970e83b3224') (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker inspect_container -> {'AppArmorProfile': '', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Args': ['--config', '/mongo/mongo_secure.conf', '--profile=2', '--verbose'], (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Config': {'AttachStderr': False, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'AttachStdin': False, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'AttachStdout': False, (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Cmd': ['--config', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: '/mongo/mongo_secure.conf', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: '--profile=2', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: '--verbose'], (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr: 'Domainname': '', (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:... (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker disconnect_container_from_network <- ('cb0a65b5bfda28c2313876693f1358d23c63a171d3532c86bb8e9970e83b3224', 'rootteststoragemongodb_default') (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker disconnect_container_from_network -> None (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker connect_container_to_network <- ('cb0a65b5bfda28c2313876693f1358d23c63a171d3532c86bb8e9970e83b3224', 'rootteststoragemongodb_default', aliases=['cb0a65b5bfda', 'mongo1'], ipv4_address=None, ipv6_address=None, links=[], link_local_ips=None) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker connect_container_to_network -> None (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker start <- ('cb0a65b5bfda28c2313876693f1358d23c63a171d3532c86bb8e9970e83b3224') (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.parallel.feed_queue: Pending: set() (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.parallel.feed_queue: Pending: set() (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.parallel.feed_queue: Pending: set() (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.parallel.feed_queue: Pending: set() (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.parallel.feed_queue: Pending: set() (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.parallel.feed_queue: Pending: set() (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.parallel.feed_queue: Pending: set() (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.parallel.feed_queue: Pending: set() (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.cli.verbose_proxy.proxy_callable: docker start -> None (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.parallel.parallel_execute_iter: Finished processing: ServiceName(project='rootteststoragemongodb', service='mongo1', number=1) (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:Creating rootteststoragemongodb_mongo1_1 ... done (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.parallel.feed_queue: Pending: set() (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.parallel.parallel_execute_iter: Finished processing: (cluster.py:123, run_and_check) 2025-06-08 18:27:01 [ 496 ] DEBUG : Stderr:compose.parallel.feed_queue: Pending: set() (cluster.py:123, run_and_check) 2025-06-08 18:27:31 [ 496 ] DEBUG : Can't connect to Mongo localhost:55577: [Errno 111] Connection refused, Timeout: 30s, Topology Description: ]> (cluster.py:2500, wait_mongo_to_start) 2025-06-08 18:27:32 [ 496 ] DEBUG : ('Trying to create ClickHouse instance by command %s', 'docker-compose --env-file /ClickHouse/tests/integration/test_storage_mongodb/_instances_1/.env --project-name rootteststoragemongodb --file /ClickHouse/tests/integration/test_storage_mongodb/_instances_1/node/docker-compose.yml --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_mongo_secure.yml up -d --no-recreate') (cluster.py:3002, start) 2025-06-08 18:27:32 [ 496 ] DEBUG : Command:['docker-compose', '--env-file', '/ClickHouse/tests/integration/test_storage_mongodb/_instances_1/.env', '--project-name', 'rootteststoragemongodb', '--file', '/ClickHouse/tests/integration/test_storage_mongodb/_instances_1/node/docker-compose.yml', '--file', '/ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_mongo_secure.yml', 'up', '-d', '--no-recreate'] (cluster.py:113, run_and_check) 2025-06-08 18:27:33 [ 496 ] DEBUG : Stderr:Creating rootteststoragemongodb_node_1 ... (cluster.py:123, run_and_check) 2025-06-08 18:27:33 [ 496 ] DEBUG : Stderr:Creating rootteststoragemongodb_node_1 ... done (cluster.py:123, run_and_check) 2025-06-08 18:27:33 [ 496 ] DEBUG : ClickHouse instance created (cluster.py:3010, start) 2025-06-08 18:27:33 [ 496 ] DEBUG : get_instance_ip instance_name=node (cluster.py:2008, get_instance_ip) 2025-06-08 18:27:33 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/rootteststoragemongodb_node_1/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:33 [ 496 ] DEBUG : Waiting for ClickHouse start in node, ip: 172.16.1.2... (cluster.py:3017, start) 2025-06-08 18:27:33 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/rootteststoragemongodb_node_1/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:33 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:33 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:33 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:33 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:33 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:34 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:34 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:34 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:34 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:34 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:34 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:34 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:34 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:34 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:34 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:35 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:35 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:35 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:35 [ 496 ] DEBUG : http://localhost:None "GET /v1.42/containers/db3dd441934ae9cf43c600424de7f5bb21cbde83fd247882c199cfd87873db9b/json HTTP/1.1" 200 None (connectionpool.py:546, _make_request) 2025-06-08 18:27:35 [ 496 ] DEBUG : ClickHouse node started (cluster.py:3021, start) ---------------------------- Captured log teardown ----------------------------- 2025-06-08 18:28:06 [ 496 ] DEBUG : Command:['docker-compose', '--env-file', '/ClickHouse/tests/integration/test_storage_mongodb/_instances_1/.env', '--project-name', 'rootteststoragemongodb', '--file', '/ClickHouse/tests/integration/test_storage_mongodb/_instances_1/node/docker-compose.yml', '--file', '/ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_mongo_secure.yml', 'stop', '--timeout', '20'] (cluster.py:113, run_and_check) 2025-06-08 18:28:08 [ 496 ] DEBUG : Stderr:Stopping rootteststoragemongodb_node_1 ... (cluster.py:123, run_and_check) 2025-06-08 18:28:08 [ 496 ] DEBUG : Stderr:Stopping rootteststoragemongodb_mongo1_1 ... (cluster.py:123, run_and_check) 2025-06-08 18:28:08 [ 496 ] DEBUG : Stderr:Stopping rootteststoragemongodb_mongo1_1 ... done (cluster.py:123, run_and_check) 2025-06-08 18:28:08 [ 496 ] DEBUG : Stderr:Stopping rootteststoragemongodb_node_1 ... done (cluster.py:123, run_and_check) 2025-06-08 18:28:08 [ 496 ] DEBUG : Command:['bash', '-c', '[ -f /ClickHouse/tests/integration/test_storage_mongodb/_instances_1/node/logs/stderr.log ] && zgrep -aH "==================" /ClickHouse/tests/integration/test_storage_mongodb/_instances_1/node/logs/stderr.log* || true'] (cluster.py:113, run_and_check) 2025-06-08 18:28:08 [ 496 ] DEBUG : Command:['docker-compose', '--env-file', '/ClickHouse/tests/integration/test_storage_mongodb/_instances_1/.env', '--project-name', 'rootteststoragemongodb', '--file', '/ClickHouse/tests/integration/test_storage_mongodb/_instances_1/node/docker-compose.yml', '--file', '/ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_mongo_secure.yml', 'down', '--volumes'] (cluster.py:113, run_and_check) 2025-06-08 18:28:08 [ 496 ] DEBUG : Stderr:Removing rootteststoragemongodb_node_1 ... (cluster.py:123, run_and_check) 2025-06-08 18:28:08 [ 496 ] DEBUG : Stderr:Removing rootteststoragemongodb_mongo1_1 ... (cluster.py:123, run_and_check) 2025-06-08 18:28:08 [ 496 ] DEBUG : Stderr:Removing rootteststoragemongodb_node_1 ... done (cluster.py:123, run_and_check) 2025-06-08 18:28:08 [ 496 ] DEBUG : Stderr:Removing rootteststoragemongodb_mongo1_1 ... done (cluster.py:123, run_and_check) 2025-06-08 18:28:08 [ 496 ] DEBUG : Stderr:Removing network rootteststoragemongodb_default (cluster.py:123, run_and_check) 2025-06-08 18:28:08 [ 496 ] DEBUG : Cleanup called (cluster.py:801, cleanup) 2025-06-08 18:28:08 [ 496 ] DEBUG : Docker networks for project rootteststoragemongodb are NETWORK ID NAME DRIVER SCOPE (cluster.py:780, print_all_docker_pieces) 2025-06-08 18:28:08 [ 496 ] DEBUG : Docker containers for project rootteststoragemongodb are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:788, print_all_docker_pieces) 2025-06-08 18:28:08 [ 496 ] DEBUG : Docker volumes for project rootteststoragemongodb are DRIVER VOLUME NAME (cluster.py:796, print_all_docker_pieces) 2025-06-08 18:28:08 [ 496 ] DEBUG : Command:docker container list --all --filter name='^/rootteststoragemongodb_.*_1$' --format '{{.ID}}:{{.Names}}' (cluster.py:113, run_and_check) 2025-06-08 18:28:08 [ 496 ] DEBUG : Unstopped containers: {} (cluster.py:815, cleanup) 2025-06-08 18:28:08 [ 496 ] DEBUG : No running containers for project: rootteststoragemongodb (cluster.py:829, cleanup) 2025-06-08 18:28:08 [ 496 ] DEBUG : Trying to prune unused networks... (cluster.py:835, cleanup) 2025-06-08 18:28:08 [ 496 ] DEBUG : Trying to prune unused images... (cluster.py:851, cleanup) 2025-06-08 18:28:08 [ 496 ] DEBUG : Command:['docker', 'image', 'prune', '-f'] (cluster.py:113, run_and_check) 2025-06-08 18:28:08 [ 496 ] DEBUG : Stdout:Total reclaimed space: 0B (cluster.py:121, run_and_check) 2025-06-08 18:28:08 [ 496 ] DEBUG : Images pruned (cluster.py:854, cleanup) 2025-06-08 18:28:08 [ 496 ] DEBUG : Trying to prune unused volumes... (cluster.py:860, cleanup) 2025-06-08 18:28:08 [ 496 ] DEBUG : Command:['docker volume ls | wc -l'] (cluster.py:113, run_and_check) 2025-06-08 18:28:08 [ 496 ] DEBUG : Stdout:1 (cluster.py:121, run_and_check) =============================== warnings summary =============================== test_storage_mongodb/test.py::test_secure_connection[True] /ClickHouse/tests/integration/test_storage_mongodb/test.py:323: DeprecationWarning: add_user is deprecated and will be removed in PyMongo 4.0. Use db.command with createUser or updateUser instead db.add_user("root", "clickhouse") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ============================== slowest durations =============================== 45.41s setup test_storage_mongodb/test.py::test_secure_connection[True] 30.43s call test_storage_mongodb/test.py::test_secure_connection[True] 3.03s teardown test_storage_mongodb/test.py::test_secure_connection[True] =========================== short test summary info ============================ FAILED test_storage_mongodb/test.py::test_secure_connection[True] - pymongo.e... =================== 1 failed, 1 warning in 79.00s (0:01:19) ==================== Traceback (most recent call last): File "/home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration/./runner", line 437, in subprocess.check_call(cmd, shell=True) File "/usr/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'docker run --rm --name clickhouse_integration_tests_tzc7q0 --privileged --dns-search='.' --volume=/home/ubuntu/_work/_temp/test/build/clickhouse-odbc-bridge:/clickhouse-odbc-bridge --volume=/home/ubuntu/_work/_temp/test/build/clickhouse:/clickhouse --volume=/home/ubuntu/_work/_temp/test/build/clickhouse-library-bridge:/clickhouse-library-bridge --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/programs/server:/clickhouse-config --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration:/ClickHouse/tests/integration --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/utils/backupview:/ClickHouse/utils/backupview --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/utils/grpc-client/pb2:/ClickHouse/utils/grpc-client/pb2 --volume=/run:/run/host:ro --volume=clickhouse_integration_tests_volume:/var/lib/docker -e DOCKER_DOTNET_CLIENT_TAG=11de0b29a15d -e DOCKER_HELPER_TAG=2cffe1eae894 -e DOCKER_BASE_TAG=2993bc2bf171 -e DOCKER_KERBERIZED_HADOOP_TAG=ce74919e88f5 -e DOCKER_KERBEROS_KDC_TAG=9391ecdee8d7 -e DOCKER_MYSQL_GOLANG_CLIENT_TAG=9bec2a638e6e -e DOCKER_MYSQL_JAVA_CLIENT_TAG=766bff31cfe4 -e DOCKER_MYSQL_JS_CLIENT_TAG=41ba7c2ec2a1 -e DOCKER_MYSQL_PHP_CLIENT_TAG=88be89c1e3b6 -e DOCKER_NGINX_DAV_TAG=b55ac9cd7519 -e DOCKER_POSTGRESQL_JAVA_CLIENT_TAG=a4eff5c7f4d6 -e DOCKER_PYTHON_BOTTLE_TAG=a2d3dc777d0c -e DOCKER_CLIENT_TIMEOUT=300 -e COMPOSE_HTTP_TIMEOUT=600 -e PYTHONUNBUFFERED=1 -e PYTEST_ADDOPTS=" -rfEps --run-id=1 --color=no --durations=0 'test_storage_mongodb/test.py::test_secure_connection[True]' -vvv" altinityinfra/integration-tests-runner:9d492c2eec24 ' returned non-zero exit status 1.